package com.wnxy.admin.service;

import com.github.pagehelper.PageInfo;
import com.wnxy.admin.dto.CustomerDto;
import com.wnxy.admin.dto.RegisterDto;
import com.wnxy.admin.entity.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.admin.entity.Reservation;

import java.util.List;

/**
 * <p>
 * 客户表 服务类
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
public interface ICustomerService extends IService<Customer> {

    void register(RegisterDto registerDto);

    void editService(Reservation reservation,Integer service);
    void editService(Reservation reservation);

    PageInfo<CustomerDto> getAll(Integer pageNum, Integer pageSize, String keyword);
}
